define(
	[	 	
	appBasePath + '/scripts/module.js',
	appBasePath + '/scripts/common/http.js',
	],
	function(substanceModule){
		substanceModule.factory('Substance.SettingService', [
		    '$q',
			'Demo.HttpService',			
		    function($q, httpService) {
	       	    return {
	       	    	list : function(data) {
						return httpService.post(appBasePath + '/setting/users', data);
					},
					setManagerUser: function(data) {
						return httpService.post(appBasePath + '/setting/manager', data);
					},
					setApproveUser: function(data) {
						return httpService.post(appBasePath + '/setting/approval', data);
					},
				};
			}
		]);
	}
);